#ifndef GENERAL_VFS_OP_H_INCLUDED
#define GENERAL_VFS_OP_H_INCLUDED
#include "binsrchtree.h"
#include "header.h"
#include "naryTree.h"
#include "hashtable.h"

int validate_name(char name[]);

int if_valid_args_(char *p);

fdesc* insertIntoFD(char *path, char *filename,char *filetype);

int if_valid_flag_(int num);

int populate(hashtable* ht,n_tree* n_root,b_node* bst,fdesc* fd);

int remove_fd_(hashtable* ht,n_tree* n_root,b_node* bst,fdesc* fd);

int bst_recursive_insert(b_node *bst,n_tree *root);

int ht_recursive_insert(hashtable* ht,n_tree *root);

#endif // GENERAL_VFS_OP_H_INCLUDED
